package com.feng.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author: uniqhj
 * @date: 2023/5/11 21:07
 * @description:
 */
public class DateUtils {
    public static String formatDateTimeString(Date date) {
        SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return df.format(date);
    }
}
